package spring.demo.entity;

import java.io.Serializable;

public class Course implements Serializable {

    private String CNO;
    private String CNAME;
//    private String TNO;
    private Teacher teacher;

    public Teacher getTeacher() {
        return teacher;
    }

    public void setTeacher(Teacher teacher) {
        this.teacher = teacher;
    }

    public String getCNO() {
        return CNO;
    }

    public void setCNO(String CNO) {
        this.CNO = CNO;
    }

    public String getCNAME() {
        return CNAME;
    }

    public void setCNAME(String CNAME) {
        this.CNAME = CNAME;
    }

//    public String getTNO() {
//        return TNO;
//    }
//
//    public void setTNO(String TNO) {
//        this.TNO = TNO;
//    }


}
